import axios from '@/utils/request.js'

export const getArticles = (channelId, timestamp) => {
  return axios({
    method: 'GET',
    url: '/app/v1_1/article',
    params: {
      channel_id: channelId,
      timestamp,
      with_top: 1
    }
  })
}
